package com.ruoyi.chat.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.chat.mapper.FriendCircleLikedMapper;
import com.ruoyi.chat.domain.FriendCircleLiked;
import com.ruoyi.chat.service.IFriendCircleLikedService;

/**
 * 点赞朋友圈的朋友Service业务层处理
 * 
 * @author zhc
 * @date 2025-05-31
 */
@Service
public class FriendCircleLikedServiceImpl implements IFriendCircleLikedService 
{
    @Autowired
    private FriendCircleLikedMapper friendCircleLikedMapper;

    /**
     * 查询点赞朋友圈的朋友
     * 
     * @param id 点赞朋友圈的朋友主键
     * @return 点赞朋友圈的朋友
     */
    @Override
    public FriendCircleLiked selectFriendCircleLikedById(String id)
    {
        return friendCircleLikedMapper.selectFriendCircleLikedById(id);
    }

    /**
     * 查询点赞朋友圈的朋友列表
     * 
     * @param friendCircleLiked 点赞朋友圈的朋友
     * @return 点赞朋友圈的朋友
     */
    @Override
    public List<FriendCircleLiked> selectFriendCircleLikedList(FriendCircleLiked friendCircleLiked)
    {
        return friendCircleLikedMapper.selectFriendCircleLikedList(friendCircleLiked);
    }

    /**
     * 新增点赞朋友圈的朋友
     * 
     * @param friendCircleLiked 点赞朋友圈的朋友
     * @return 结果
     */
    @Override
    public int insertFriendCircleLiked(FriendCircleLiked friendCircleLiked)
    {
        return friendCircleLikedMapper.insertFriendCircleLiked(friendCircleLiked);
    }

    /**
     * 修改点赞朋友圈的朋友
     * 
     * @param friendCircleLiked 点赞朋友圈的朋友
     * @return 结果
     */
    @Override
    public int updateFriendCircleLiked(FriendCircleLiked friendCircleLiked)
    {
        return friendCircleLikedMapper.updateFriendCircleLiked(friendCircleLiked);
    }

    /**
     * 批量删除点赞朋友圈的朋友
     * 
     * @param ids 需要删除的点赞朋友圈的朋友主键
     * @return 结果
     */
    @Override
    public int deleteFriendCircleLikedByIds(String[] ids)
    {
        return friendCircleLikedMapper.deleteFriendCircleLikedByIds(ids);
    }

    /**
     * 删除点赞朋友圈的朋友信息
     * 
     * @param id 点赞朋友圈的朋友主键
     * @return 结果
     */
    @Override
    public int deleteFriendCircleLikedById(String id)
    {
        return friendCircleLikedMapper.deleteFriendCircleLikedById(id);
    }
}
